#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-12 20:10:11
# Last Modified: 2016-03-06 17:27:04
# File Name: autologin.sh
# Description: 
source ./gl.sh

sign=`echo -n "ak${ak}appkey${appkey}time${reqTime}uid${uid}vuid${vuid}${salt}" | md5sum | awk '{print $1}'`

curl -v "http://${host}/v1/account/autologin?appkey=${appkey}&vuid=${vuid}&uid=${uid}&ak=${ak}&time=${reqTime}&sign=${sign}"
